<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>User INDEX</title>
</head>
<body>
<h1>User INDEX</h1>
<div th:substituteby="index::logout">
    <h1>这个界面是被保护的界面</h1>
    <p><a href="/index" th:href="@{/index}">返回首页</a></p>
</div>
</body>
</html>